package com.burgeon.backend.SHOPBACKEND.controller;

import com.burgeon.backend.SHOPBACKEND.entity.ClassifyVo;
import com.burgeon.backend.SHOPBACKEND.service.AKdQueryService;
import com.burgeon.backend.stsutil.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequestMapping("express")
@RestController
@CrossOrigin
public class AKdQueryController extends BaseController{

    @Autowired
    private AKdQueryService aKdQueryService;

    /**
     * 查询物流信息
     * @param expCode
     * @param expNo
     * @param phone
     * @return
     */
    @RequestMapping("query")
    public ResponseResult<Object> addMaterialGroup(String expCode, String expNo,String phone){

        Object data = aKdQueryService.queryKd(expCode,expNo,phone);

        return new ResponseResult<>(SUCCESS,data);
    }


}
